package com.aaa.service.impl;

import com.aaa.entity.Foul;
import com.aaa.entity.Menu;
import com.aaa.mapper.BackUserMapper;
import com.aaa.mapper.FoulMapper;
import com.aaa.mapper.MenuMapper;
import com.aaa.service.FoulService;
import com.aaa.service.MenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @ClassName: MenuService
 * @Description: TODO
 * @Author: 86139
 * @Date: 2021/9/3 22:08
 * @Version:1.0
 **/
@Service
@Slf4j
public class FoulServiceImpl extends ServiceImpl<FoulMapper, Foul> implements FoulService {
    @Resource
    FoulMapper foulMapper;
    public List<Map<String,Object>> addAfter(Integer username){
        return foulMapper.addAfter(username);
    }


}
